﻿@model RegionEntity
<form class="layui-form" asp-controller="Plus" asp-action="RegionEdit" method="post">
	<div class="layui-form-item">
		<label class="layui-form-label"><span class="c-red">*</span>国家名称</label>
		<div class="layui-input-block">
			<input type="text" lay-verify="required" lay-verType="tips" class="layui-input" asp-for="Country" data-val="true" data-val-required="不能为空">
			<span asp-validation-for="Country" style="color:red;"></span>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label"><span class="c-red">*</span>省份名称</label>
		<div class="layui-input-block">
			<input type="text" lay-verify="required" lay-verType="tips" class="layui-input" asp-for="Province" data-val="true" data-val-required="不能为空">
			<span asp-validation-for="Province" style="color:red;"></span>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label"><span class="c-red">*</span>城市名称</label>
		<div class="layui-input-block">
			<input type="text" lay-verify="required" lay-verType="tips" class="layui-input" asp-for="City" data-val="true" data-val-required="不能为空">
			<span asp-validation-for="City" style="color:red;"></span>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label"><span class="c-red"></span>区域名称</label>
		<div class="layui-input-block">
			<input type="text" class="layui-input" asp-for="Area">
			<span asp-validation-for="Area" style="color:red;"></span>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label"><span class="c-red">*</span>邮政编码</label>
		<div class="layui-input-block">
			<input type="text" lay-verify="required" lay-verType="tips" class="layui-input" asp-for="PostCode" data-val="true" data-val-required="不能为空">
			<span asp-validation-for="PostCode" style="color:red;"></span>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label"><span class="c-red">*</span>区号</label>
		<div class="layui-input-block">
			<input type="text" lay-verify="required" lay-verType="tips" class="layui-input" asp-for="AreaCode" data-val="true" data-val-required="不能为空">
			<span asp-validation-for="AreaCode" style="color:red;"></span>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button type="submit" class="layui-btn layuiadmin-btn-list" lay-submit lay-filter="">保存</button>
			<button type="button" class="layui-btn layuiadmin-btn-list" onclick="layer_close()">取消</button>
			<input type="hidden" asp-for="RegionID" />
			<span style="color:red; font-size:18px;">@Html.ValidationSummary(true)</span>
		</div>
	</div>
</form>